package map_set;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.TreeMap;

/**
 * Map接口的常用方法
 * @author yuisama
 * @date 2022/03/03 21:28
 **/
public class MapTest {
    public static void main(String[] args) {
        Object obj = new Object() {
            @Override
            public boolean equals(Object obj) {
                return true;
            }
        };
        System.out.println(obj.equals("hehe"));
        System.out.println(obj.equals(123));
    }
}